<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>最新新品列表</title>
<body class="withvernav">
<div class="bodywrapper">
	{{include file='/public/leftmenu.tpl'}}
	<div class="centercontent tables">
		<div class="pageheader notab">
			<h1 class="pagetitle">最新新品列表</h1>
			<span class="pagedesc"></span>
		</div>
		<!--pageheader-->
		<div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
		<div id="contentwrapper" class="contentwrapper">
			<!--搜索栏-->
			<form class="stdform stdform2" method="get" action="/welcome/ajaxbutton">
				<div class="tableoptions">
					<input type="hidden" name="op" value="showMoreProduct"/>
					商品编号: <input type="text" name="other" id="other" class="width200" placeholder="请输入商品编号" value="{{$other}}" />
					&nbsp;&nbsp;
					<button class="btn btn_orange btn_search radius50">Search</button>
				</div>
			</form>
			<!--搜索栏结束-->
			<table cellpadding="0" cellspacing="0" border="0" class="stdtable">
				<thead>
				</thead>
				<tbody>
				<ul class="entrylist">
					<li>
						<div class="entry_wrap" style="min-height: 30px;">
							<div class="entry_img"></div>
							<div class="entry_content" style="width:30%;margin-left:80px;float:left;">
								<h4><a href="" target="_blank"><B></B></a></h4>
								<small></small>
								<p></p>
							</div>
							{{if $userclassid == 12 || $userclassid == 13 || $userclassid ==14}}
							{{else}}
							<div style="width:15%;float:left;margin-left:80px;">
								<h4>已上架</h4>
								<p style="color:red;">
								</p>
							</div>
							<div style="width:15%;float:left;margin-left:15px;">
								<h4>未上架</h4>
								<p>
								</p>
							</div>
							<div style="width:15%;float:left;margin-left:15px;">
								<h4>取消上架</h4>
								<p>
								</p>
							</div>
							{{/if}}
							<div style="width:6%;float: left;margin-left:30px;">
								<h4>销量</h4>
								<p>
								</p>
							</div>
						</div>
					</li>
					{{foreach from=$productlist item=li key=key}}
					<li>
						<div class="entry_wrap" style="min-height: 100px;">
							<div class="entry_img"><img src="{{$li.imagesurl}}" alt="" width="58" /></div>
							<div class="entry_content" style="width:30%;margin-left:60px;float:left;">
								<h4><a href="/product/productlist?ty=1&other={{$li.goods_sku}}" target="_blank"><B>{{$li.goods_name}}</B></a></h4>
								<small>[<font color="red">{{$li.goods_sku}}</font>]  {{$li.g_updatetime}}</small>
								<p style="width:270px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{$li.standard}}{{$li.memo}}</p>
							</div>
							{{if $userclassid == 12 || $userclassid == 13 || $userclassid ==14}}
							{{else}}
							<div style="width:15%;float:left;margin-left:30px;">
								<!--<h4>已上架</h4>-->
								<span style="color:red;">{{$li.str_return_receivers}}</span><br/>
							</div>
							<div style="width:15%;float:left;margin-left:15px;">
								<!--<h4>未上架</h4>-->
								<p>
									{{$li.str_receivers}}
								</p>
							</div>
							<div style="width:15%;float:left;margin-left:15px;">
								<!--  <h4>未上架</h4>-->
								<p>
									{{$li.str_cancel}}<br/>
								</p>
							</div>
							{{/if}}
							<div style="width:6%;float: left;margin-left:20px;text-align: center;">
								<!--<h4>销量</h4>-->
								<p>
									{{$li.saleNum}}
								</p>
							</div>
						</div>

					</li>
					{{/foreach}}
				</ul>
				</tbody>
			</table>
			<div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
			<br />
			<br />
		</div>
	</div>
	<!--bodywrapper-->
</body>
</html>